<?php

namespace Common\Model;

use Think\Model\RelationModel;

class UsersJifenModel extends RelationModel
{
    protected $_link = array(
        'uid' => array(
            'mapping_type' => self::BELONGS_TO,
            'class_name' => 'Users',
            'foreign_key' => 'uid',
            'as_fields' => 'username'
        )
    );
}
